//
//  KKWebViewVC.m
//  DoMi
//
//  Created by 康凯 on 2016/12/7.
//  Copyright © 2016年 kk. All rights reserved.
//

#import "KKWebViewVC.h"

@interface KKWebViewVC ()
@property(nonatomic,strong)UIWebView *webView;
@end

@implementation KKWebViewVC

- (void)viewDidLoad {
    [super viewDidLoad];
    [self setNavBlack];
    self.navigationItem.title=self.navTitle;
    self.view.backgroundColor=[UIColor whiteColor];
    
    self.webView=[[UIWebView alloc] initWithFrame:CGRectMake(0, 0, screenWidth, screenHeight-self.topHeight)];
    [self.webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:self.url]]];
    [self.view addSubview:self.webView];
}

@end
